package cn.yuyiling.jelly.sr.mongodb.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@Document(collection = "review_schedules")
public class ReviewSchedule implements Serializable {
    @Id
    private String id;

    private String userId;

    private String knowledgePointId;

    private LocalDateTime firstReviewTime;  // 首次学习时间

    private List<LocalDateTime> reviewPlan; // 复习计划时间点

    private List<LocalDateTime> actualReviews; // 实际复习时间

    private int currentLevel; // 当前复习级别

    private boolean isMastered; // 是否已掌握

    private LocalDateTime updatedAt;
}